package com.nursing.bean;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

// 管理员
@Component
public class Admin {
    private Integer id;
    private String username; // 用户名
    private String password; // 密码
    private LocalDateTime createdAt; // 创建时间
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }


}
